package com.cmc.cloud.cmclink.doc.api.document.req.so.sovo.sovo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
/**
 * 文件上传响应VO
 * @author codegen
 * @date 2025-08-20
 */

@Data
@EqualsAndHashCode()
public class FileUploadRespVo {
    @Schema(
            description = "文件id",
            requiredMode = Schema.RequiredMode.REQUIRED
    )
    private Long id;
    @Schema(
            description = "文件格式",
            requiredMode = Schema.RequiredMode.REQUIRED
    )
    private String fileFormat;
    @Schema(
            description = "文件名称",
            requiredMode = Schema.RequiredMode.REQUIRED
    )
    private String fileName;
    @Schema(
            description = "文件大小（单位B）",
            requiredMode = Schema.RequiredMode.REQUIRED
    )
    private BigDecimal fileSize;
    @Schema(
            description = "下载预览地址",
            requiredMode = Schema.RequiredMode.REQUIRED
    )
    private String downloadUrl;
}
